<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <style>
        div{
            background: #7f6262;
            width:100px;
            height:100px;
        }
        .a{
            margin:100px;
        }
    </style>
</head>
<body>
    <span>323</span>
    
    <div>1</div>
</body>

<script>
    $("div").addClass('a');
</script>
<script src="https://cdn.bootcss.com/jquery/3.3.0/jquery.min.js"></script>
</html>